package com.schpro.webexperiment.model;

import com.schpro.webexperiment.util.IdUtils;
import java.util.List;
import lombok.Getter;
import lombok.Setter;

/**
 * TODO
 *
 * @author lss
 * @date 2019-02-27, Wed
 */
@Getter
@Setter
public class RootModel extends BaseModel {

  public static final String ROOT_NODE_NAME = "网络实验";
  private List<Belong> children;


  public RootModel(List<Belong> children) {
    this.setId(IdUtils.get32Id());
    this.setName(ROOT_NODE_NAME);
    this.children = children;
  }
}
